namespace JanusLibAing.EventsArg
{
    using System;

    public class ActionEventArgs : EventArgs
    {
        /// <summary>
        /// action ident
        /// </summary>
        private int actionId = 0;

        /// <summary>
        /// Initializes a new instance of the <see cref="ActionEventArgs"/> class.
        /// </summary>
        public ActionEventArgs()
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="ActionEventArgs"/> class.
        /// </summary>
        /// <param name="actionId">The action id.</param>
        public ActionEventArgs(int actionId)
        {
            this.actionId = actionId;   
        }

        /// <summary>
        /// Gets or sets the action id.
        /// </summary>
        /// <value>The action id.</value>
        public int ActionId
        {
            get
            {
                return actionId;
            }

            set
            {
                actionId = value;   
            }
        }
    }
}